#ifndef FIRSTDIALOG_H
#define FIRSTDIALOG_H

#include "mainwindow.h"
#include <QDialog>
#include <QButtonGroup>
#include "dialogdata.h"


namespace Ui {
class FirstDialog;
}

class FirstDialog : public QDialog
{
    Q_OBJECT

public:
    explicit FirstDialog(QWidget *parent = nullptr);
    ~FirstDialog();
     DialogData& getDialogData();


    void connectToMainWindow(MainWindow& w);

 private slots:
     void on_buttonBox_accepted();

 private:
    Ui::FirstDialog *ui;
    QButtonGroup* btnGroup;
    DialogData dd;

};

#endif // FIRSTDIALOG_H
